Configure an MLT

Before you begin

See MLT and SMLT Configuration Requirements to understand the commands you can use to add VLANs to an LACP-enabled MLT. Ensure you use the correct command to avoid the LACP churn condition.

Procedure

  1. Enter Global Configuration mode:

    enable

    configure terminal

  2. Create an MLT:

    mlt <1-512>

  3. Optional: Set the private VLAN type for the MLT:

    mlt <1–512> private-vlan <isolated|promiscuous|trunk>

  4. Add a VLAN to the MLT:

    mlt <1-512> vlan <1-4059>

  5. Optional: Change the name of the MLT:

    mlt <1-512> name WORD<0-64>

  6. Enable trunking on the MLT:

    mlt <1-512> encapsulation dot1q

  7. Enable the MLT:

    mlt <1-512> enable

  8. Display the MLT configuration:

    show mlt <1–512>

Examples

Create MLT 40. Configure the private VLAN type for MLT 40 to isolated. Add VLAN 10 to the MLT. Enable the MLT.

Switch:1(config)#mlt 40
Switch:1(config)#mlt 40 private-vlan isolated
Switch:1(config)#mlt 40 vlan 10
Switch:1(config)#mlt 40 enable

Display the MLT configuration:

Switch:1(config)#show mlt 40
==========================================================================================
                                    Mlt Info

==========================================================================================
                        PORT    MLT   MLT        PORT         VLAN
MLTID IFINDEX NAME      TYPE   ADMIN CURRENT    MEMBERS       IDS
------------------------------------------------------------------------------------------
40   6183  MLT-40        access  norm   norm                    10

               DESIGNATED   LACP      LACP
MLTID IFINDEX  PORTS        ADMIN     OPER
------------------------------------------------------------------------------------------
40      6183    null          disable   down

                                                            WHICH PORTS
             WHERE      LOCAL             REMOTE            PROGRAMMED
MLTID NAME   CREATED    PORT MEMBERS      PORT MEMBERS      IN DATA PATH
------------------------------------------------------------------------------------------
40    MLT-40   LOCAL                                          NONE

               ENCAP                          PVLAN        VID
MLTID IFINDEX  DOT1Q     LOSSLESS   PVLAN     TYPE         TYPE         FLEX-UNI
------------------------------------------------------------------------------------------
40     6183     disable   disable    enable   isolated    secondary     disable

Variable Definitions

Use the data in the following table to use the mlt command.

Variable

Value

enable

Creates and enables a new MLT.

encapsulation dot1q

Enables trunking on the MLT.

member {slot/port[/sub-port][-slot/port[/sub-port]][,...][slot/all][all]}

Adds ports to the MLT.

Identifies the slot and port in one of the following formats:
  • a single slot and port (slot/port)

  • a range of slots and ports (slot/port-slot/port)

  • a series of slots and ports (slot/port,slot/port,slot/port)

  • all ports on the same slot (slot/all)

  • all ports on the switch (all)

If the platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port.

<1-512>

Specifies the MLT ID.

name WORD<0-64>

Configures the name for the MLT.

private-vlan {isolated|promiscuous|trunk}

Specifies a private VLAN type for the MLT.

vlan <1-4059>

Specifies a VLAN ID to add to the MLT.